* process.c [__sgi] (allocate_pty): Give up immediately if pty is
authorJim Blandy <jimb@redhat.com>
Wed, 19 May 1993 04:38:28 +0000 (04:38 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 19 May 1993 04:38:28 +0000 (04:38 +0000)
inaccessible.

src/process.c

index f383c95511af0a850c95691c5e08900d3c598001..17a0ca6a7ca71266c7a999473b8380ade326b8ec 100644 (file)
@@ -444,7 +444,7 @@ allocate_pty ()
            if (access (pty_name, 6) != 0)
              {
                close (fd);
-#ifndef IRIS
+#if !defined(IRIS) && !defined(__sgi)
                continue;
 #else
                return -1;